using System;
using System.IO;

using Dashboard;
using Dashboard.Util;

namespace Dashboard.Mint.Tiles
{
	[Tile (Type = "db:bug")]
	public class BugTile : Tile
	{
		public BugTile (Match match) : base (match)
		{
			Title = match.Properties.GetPropertyValue ("dc:title");
			Description = "#" + match.Properties.GetPropertyValue ("db:number");
		}

		public override Gdk.Pixbuf GetIcon (int size)
		{
			return Util.LoadStockIcon ("face-surprise", size);
		}
	}
}